lib: Fix some minor memory leaks
authorJonathan Lebon <jonathan@jlebon.com>
Wed, 25 Jul 2018 21:49:12 +0000 (17:49 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 26 Jul 2018 21:01:19 +0000 (21:01 +0000)
commitfcd31a195be0e48709ff44b24ed3b5dc2f4f60e3
tree3503f38f0d7179580ab13a3de6171cdb5305b85c
parent9482922e5e813290ee9952a55f2b574bb61b1ef6
lib: Fix some minor memory leaks

I initially was going to add a `G_DEFINE_AUTOPTR_CLEANUP_FUNC` for
`FetchStaticDeltaData`, but it honestly didn't seem worth mucking around
ownership everywhere and potentially getting it wrong.

Discovered by Coverity.

Closes: #1692
Approved by: cgwalters
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo-static-delta-compilation.c